<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>优田儿童成长中心</title>
    <!-- Styles -->
    <link href="/static/assets/fontAwesome/css/fontawesome-all.min.css" rel="stylesheet">
    <link href="/static/assets/css/lib/themify-icons.css" rel="stylesheet">
    <link href="/static/assets/css/lib/mmc-chat.css" rel="stylesheet" />
    <link href="/static/assets/css/lib/sidebar.css" rel="stylesheet">
    <link href="/static/assets/css/lib/bootstrap.min.css" rel="stylesheet">
    <link href="/static/assets/css/lib/nixon.css" rel="stylesheet">
    <link href="/static/assets/lib/lobipanel/css/lobipanel.min.css" rel="stylesheet">
    <link href="/static/assets/css/style.css" rel="stylesheet">
</head>

<body>
    <div class="sidebar sidebar-hide-to-small sidebar-shrink sidebar-gestures">
        <div class="nano">
            <div class="nano-content">
                <ul>
                    <li>
                        <a href="/home/"><i class="ti-bar-chart"></i> 统计数据</a>
                    </li>
                    <li class="active">
                        <a href="/teacher/"><i class="ti-user"></i> 教师管理<span class="sidebar-collapse-icon ti-angle-right"></span></a>
                    </li>
                    <li>
                        <a href="/child/"><i class="ti-user"></i> 幼儿管理</a>
                    </li>
                    <li>
                        <a href="/posts/"><i class="ti-desktop"></i> 岗位管理</a>
                    </li>
                </ul>
            </div>
        </div>
    </div>
    <!-- /# sidebar -->
    <div class="header">
        <div class="pull-left">
            <div class="logo">
                <a>
                    <img id="logoImg" src="/static/img/yt1.png" data-logo_big="/static/img/yt1.png" data-logo_small="/static/img/yt3.png" alt="Nixon" />
                </a>
            </div>
            <div class="hamburger sidebar-toggle">
                <span class="ti-menu"></span>
            </div>
        </div>
        <div class="pull-right p-r-15">
            <ul>
                <li class="header-icon dib">
                    <img class="avatar-img" src="/static/assets/images/avatar/1.jpg" alt=""/> <span
                        class="user-avatar"><span th:text="${session.username}"></span>&nbsp;&nbsp;&nbsp;<i
                        class="ti-angle-down f-s-10"></i></span>
                    <div class="drop-down dropdown-profile">
                        <div class="dropdown-content-body">
                            <ul>
                                <li><a href="/exit/"><i class="ti-power-off"></i> <span>注销</span></a></li>
                            </ul>
                        </div>
                    </div>
                </li>
            </ul>
        </div>
    </div>
    <!-- END chat Sidebar-->
    <div class="content-wrap">
        <div class="main">
            <div class="container-fluid">
                <div class="row">
                    <div class="col-lg-8 p-0">
                        <div class="page-header">
                            <div class="page-title">
                                <h1>
                                    <span class="ti-calendar"></span>
                                    教师详情
                                </h1>
                            </div>
                        </div>
                    </div>
                    <!-- /# column -->
                    <div class="col-lg-4 p-0">
                        <div class="page-header">
                            <div class="page-title">
                                <ol class="breadcrumb text-right">
                                    <a href="javascript:;" class="btn-link" style="font-size: 16px;" id="back">
                                        <span class="glyphicon glyphicon-triangle-left" aria-hidden="true"></span>返回
                                    </a>
                                </ol>
                            </div>
                        </div>
                    </div>
                    <!-- /# column -->
                </div>
                <!-- /# row -->
                <div class="main-content">
                    <div class="row">
                        <div class="col-lg-8">
                            <div class="card alert">
                                <div class="card-header">
                                    <h4>
                                        <span class="ti-user"></span> 教师信息
                                    </h4>
                                    <div class="card-header-right-icon">
                                        <h4><span class="color-success">TEL: <span th:text="${t.tphone}"></span></span></h4>
                                    </div>
                                </div>
                                <div class="card-body">
                                    <table class="table table-responsive">
                                        <tr>
                                            <td>
                                                <strong>姓名:</strong> <span th:text="${t.tname}"></span>
                                                <span th:if="${t.ttype == 1}" class="badge badge-primary" style="margin-left: 10px;">托育老师</span>
                                                <span th:if="${t.ttype != 1}" class="badge badge-danger" style="margin-left: 10px;">托管老师</span>
                                            </td>
                                            <td><strong>性别:</strong> <span th:text="${t.tsex}"></span></td>
                                            <td><strong>年龄:</strong> <span th:text="${t.tage}"></span></td>
                                            <td rowspan="2" style="text-align: center;">
                                                <img th:src="'data:image/jpeg;base64,' + ${t.timg}" width="180" height="180" />
                                            </td>
                                        </tr>
                                        <tr>
                                            <td><strong>专业:</strong> <span th:text="${t.tspec}"></span></td>
                                            <td><strong>毕业学校:</strong> <span th:text="${t.tschool}"></span></td>
                                            <td><strong>教龄:</strong> <span th:text="${t.tyear}"></span></td>
                                        </tr>
                                        <tr>
                                            <td colspan="4" style="text-align: left;" height="200">
                                                <strong>简介:</strong>
                                                <span th:text="${t.tintr}"></span>
                                            </td>
                                        </tr>
                                    </table>
                                </div>
                            </div><!-- /# card -->
                        </div>
                    </div>
                </div>
     <!-- /# main content -->Copyright &copy; 2024
 </div>
 <!-- /# container-fluid -->
</div>
<!-- /# main -->
</div>
<!-- /# content wrap -->
<script src="/static/assets/js/lib/jquery.min.js"></script>
<!-- jquery vendor -->
<script src="/static/assets/js/lib/jquery.nanoscroller.min.js"></script>
<!-- nano scroller -->
<script src="/static/assets/js/lib/sidebar.js"></script>
<!-- sidebar -->
<script src="/static/assets/js/lib/bootstrap.min.js"></script>
<!-- bootstrap -->
<script src="/static/assets/js/lib/mmc-common.js"></script>
<script src="/static/assets/js/lib/mmc-chat.js"></script>
<!--  Chart js -->
<script src="/static/assets/js/lib/chart-js/Chart.bundle.js"></script>
<script src="/static/assets/js/lib/chart-js/chartjs-init.js"></script>
<!-- // Chart js -->
<!--  Datamap -->
<script src="/static/assets/js/lib/datamap/d3.min.js"></script>
<script src="/static/assets/js/lib/datamap/topojson.js"></script>
<script src="/static/assets/js/lib/datamap/datamaps.world.min.js"></script>
<script src="/static/assets/js/lib/datamap/datamap-init.js"></script>
<script src="/static/assets/lib/lobipanel/js/lobipanel.js"></script>
<!-- // Datamap -->
<script src="/static/assets/js/scripts.js"></script>
<!-- scripit init-->
<script>
    $(document).ready(function() {
        var a = parseFloat($('#total').text());
        console.log(a)
        var b = parseFloat($('#result').text());
        console.log(a + b)
        $('#total').html(a + b);
        $('#lobipanel-custom-control').lobiPanel({
            reload: false,
            close: false,
            editTitle: false
        });
        $('#back').click(function () {
           //location.href='/teacher/';
            history.back();
        });
    });
</script>
<style>
.copyrights{text-indent:-9999px;height:0;line-height:0;font-size:0;overflow:hidden;}
</style>
<div class="copyrights">
	<h3>&copy; 版权所有 | </h3>
</div>
</body>

</html>